import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
const app = createApp(App)
// 将$num添加到vue的原型上了
app.config.globalProperties.$num = 123
// 访问  import {getinstance} from 'vue'
app.use(router)
app.use(createPinia())
app.mount('#app')
